package com.es.poem.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.es.poem.entry.Poem;
import com.es.poem.mapper.PoemMapper;
import com.es.poem.service.PoemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PoemServiceImpl  extends ServiceImpl<PoemMapper, Poem> implements PoemService {

    @Autowired
    private PoemMapper poemMapper;


    @Override
    public List<Poem> findAll() {
        return poemMapper.findAll();
    }
}
